ImageGear .NET v25.1 - Updated
IndexOf Method (ImGearXMPArray<T>)




ImageGear.Formats.SimplifiedMetadata Assembly > ImageGear.Formats.XMP Namespace > ImGearXMPArray<T> Class : IndexOf Method
The object to locate in the ImGearXMPArray<T>.
Searches for the specified item and returns the zero-based index of the first occurrence within ImGearXMPArray<T>.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As T _
) As Integer
'Usage
 
Dim instance As ImGearXMPArray(Of T)
Dim item As T
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   T item
)
public: int IndexOf( 
   T* item
) 
public:
int IndexOf( 
   T^ item
) 

Parameters

item
The object to locate in the ImGearXMPArray<T>.

Return Value

The zero-based index of the first occurrence of item within the entire ImGearXMPArray<T>, if found; otherwise, –1.
See Also

Reference

ImGearXMPArray<T> Class
ImGearXMPArray<T> Members